package com.ccp.dev.workflow.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.workflow.model.NodeMsgTemplate;

import java.util.List;
import java.util.Map;

public interface NodeMsgTemplateDao extends IBaseMapper<NodeMsgTemplate,String> {

    NodeMsgTemplate getOne(Map<String, Object> map);

    /**
     * 根据定义ID获取消息模版
     * @param modelId
     * @return
     */
    List<NodeMsgTemplate> queryByModelId(String modelId);
}
